<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的个人网站</title>
    <style>
        /* 基础样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Helvetica Neue', Arial, sans-serif;
        }
        
        body {
            line-height: 1.6;
            color: #333;
            background-color: #f9f9f9;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* 导航栏 */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: #2c3e50;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: #3498db;
        }
        
        /* 英雄区域 */
        .hero {
            padding: 100px 0;
            text-align: center;
            background: linear-gradient(135deg, #3498db, #9b59b6);
            color: white;
        }
        
        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 20px;
            max-width: 700px;
            margin: 0 auto 30px;
        }
        
        .btn {
            display: inline-block;
            background-color: #fff;
            color: #3498db;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            transition: all 0.3s;
        }
        
        .btn:hover {
            background-color: #f1f1f1;
            transform: translateY(-3px);
        }
        
        /* 内容区域 */
        section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 36px;
            color: #2c3e50;
            margin-bottom: 15px;
        }
        
        .section-title p {
            color: #7f8c8d;
            max-width: 600px;
            margin: 0 auto;
        }
        
        /* 关于我 */
        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-image {
            flex: 1;
            text-align: center;
        }
        
        .about-image img {
            max-width: 100%;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        /* 作品集 */
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .portfolio-item {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        
        .portfolio-item:hover {
            transform: translateY(-10px);
        }
        
        .portfolio-img {
            height: 200px;
            background-color: #3498db;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
        }
        
        .portfolio-content {
            padding: 20px;
        }
        
        /* 联系表单 */
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }
        
        .form-group textarea {
            height: 150px;
            resize: vertical;
        }
        
        /* 页脚 */
        footer {
            background-color: #2c3e50;
            color: white;
            padding: 50px 0 20px;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
        }
        
        .footer-section {
            flex: 1;
        }
        
        .footer-section h3 {
            margin-bottom: 20px;
            font-size: 20px;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
        }
        
        .social-links a {
            color: white;
            font-size: 20px;
            transition: color 0.3s;
        }
        
        .social-links a:hover {
            color: #3498db;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .hero h1 {
                font-size: 36px;
            }
            
            .about-content {
                flex-direction: column;
            }
            
            .footer-content {
                flex-direction: column;
                gap: 30px;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <header>
        <div class="container">
            <nav>
                <div class="logo">我的网站</div>
                <ul class="nav-links">
                    <li><a href="#home">首页</a></li>
                    <li><a href="#about">关于我</a></li>
                    <li><a href="#portfolio">作品集</a></li>
                    <li><a href="#contact">联系我</a></li>
                </ul>
            </nav>
        </div>
    </header>

    <!-- 英雄区域 -->
    <section class="hero" id="home">
        <div class="container">
            <h1>欢迎来到我的个人网站</h1>
            <p>我是一名充满激情的创作者，专注于设计精美的数字体验</p>
            <a href="#portfolio" class="btn">查看我的作品</a>
        </div>
    </section>

    <!-- 关于我 -->
    <section id="about">
        <div class="container">
            <div class="section-title">
                <h2>关于我</h2>
                <p>了解更多关于我的背景和技能</p>
            </div>
            <div class="about-content">
                <div class="about-text">
                    <h3>你好，我是张三</h3>
                    <p>我是一名网页设计师和开发者，拥有5年以上的行业经验。我热爱创造美观且功能强大的网站，帮助企业和个人实现在线目标。</p>
                    <p>我的专长包括响应式网页设计、用户体验设计和前端开发。我始终关注最新的设计趋势和技术，以确保我的工作既现代又实用。</p>
                    <p>在我的空闲时间，我喜欢摄影、旅行和学习新技能。</p>
                </div>
                <div class="about-image">
                    <!-- 这里可以替换为您的实际图片 -->
                    <div style="width: 100%; height: 300px; background-color: #e0e0e0; display: flex; align-items: center; justify-content: center; border-radius: 10px;">
                        <span>个人照片</span>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 作品集 -->
    <section id="portfolio" style="background-color: #f5f5f5;">
        <div class="container">
            <div class="section-title">
                <h2>我的作品</h2>
                <p>以下是我的一些精选项目</p>
            </div>
            <div class="portfolio-grid">
                <div class="portfolio-item">
                    <div class="portfolio-img" style="background-color: #3498db;">项目一</div>
                    <div class="portfolio-content">
                        <h3>企业网站设计</h3>
                        <p>为一家科技公司设计的响应式网站，提升了用户体验和转化率。</p>
                    </div>
                </div>
                <div class="portfolio-item">
                    <div class="portfolio-img" style="background-color: #9b59b6;">项目二</div>
                    <div class="portfolio-content">
                        <h3>电子商务平台</h3>
                        <p>开发了一个完整的在线购物平台，具有直观的用户界面和安全的支付系统。</p>
                    </div>
                </div>
                <div class="portfolio-item">
                    <div class="portfolio-img" style="background-color: #e74c3c;">项目三</div>
                    <div class="portfolio-content">
                        <h3>移动应用界面</h3>
                        <p>为一款健康类应用设计的用户界面，注重可用性和视觉吸引力。</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 联系我 -->
    <section id="contact">
        <div class="container">
            <div class="section-title">
                <h2>联系我</h2>
                <p>如果您有任何问题或合作意向，请随时与我联系</p>
            </div>
            <div class="contact-form">
                <form>
                    <div class="form-group">
                        <label for="name">姓名</label>
                        <input type="text" id="name" placeholder="请输入您的姓名">
                    </div>
                    <div class="form-group">
                        <label for="email">邮箱</label>
                        <input type="email" id="email" placeholder="请输入您的邮箱">
                    </div>
                    <div class="form-group">
                        <label for="message">留言</label>
                        <textarea id="message" placeholder="请输入您的留言"></textarea>
                    </div>
                    <button type="submit" class="btn" style="border: none; cursor: pointer;">发送消息</button>
                </form>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-section">
                    <h3>关于网站</h3>
                    <p>这是我的个人网站，展示我的作品和技能。感谢您的访问！</p>
                </div>
                <div class="footer-section">
                    <h3>联系信息</h3>
                    <p>邮箱: example@example.com</p>
                    <p>电话: +86 123 4567 8900</p>
                </div>
                <div class="footer-section">
                    <h3>关注我</h3>
                    <div class="social-links">
                        <a href="#">微信</a>
                        <a href="#">微博</a>
                        <a href="#">GitHub</a>
                    </div>
                </div>
            </div>
            <div class="copyright">
                <p>&copy; 2023 我的个人网站. 保留所有权利.</p>
            </div>
        </div>
    </footer>
</body>
</html>